.inboxContainer {
  display: flex;
  overflow: hidden;
  height: 100%;
  .inboxLeft {
    width: 420px;
    margin-right: 20px;
    flex-shrink: 0;
    background-color: #fff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: visible;
    .headC {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: 12px 15px;
    }
    .headTop {
      cursor: pointer;
    }
    .itemtext {
      margin-right: 10px;
      font-size: 14px;
    }
    .headMenu {
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      .menuItem {
        display: flex;
        align-items: center;
      }
      .menuItemIcon {
        display: block;
        width: 20px;
        height: 20px;
        margin-right: 12px;
      }
    }

    .tags{
      padding: 10px;
    }

    .search {
      padding: 10px 20px;
      border-bottom: 1px solid #ebecf0;
      background: #f8f8f8;
      .searchInput {
        border-color: transparent;
      }
    }

    .peoples {
      flex: 1 0 0;
      height: calc(100% - 200px);
      .items {
        height: 100%;
        overflow-y: auto;
      }
      .itemsTitle {
        padding: 12px 22px 8px;
        font-weight: 500;
      }
      .itemHead {
        display: flex;
        padding-bottom: 10px;
      }
      .tags {
        padding: 10px 10px 0;
        .tag {
          margin-bottom: 10px;
        }
      }
      .item {
        display: flex;
        flex-direction: column;
        padding: 13px 22px 6px;
        position: relative;
        border-left: 5px solid transparent;
        cursor: default;
        &.selected {
          background-color: #f6f5f5;
          border-left: 5px solid #4d7ef9;
        }
        &:hover {
          background-color: #f6f5f5;
        }
        &::after {
          position: absolute;
          display: block;
          content: '';
          height: 0.1px;
          left: 106px;
          right: 110px;
          bottom: 0;
          background-color: #d8d8d8;
          visibility: visible;
        }
        .avatarCon {
          flex-shrink: 0;
          width: 40px;
          height: 40px;
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 14px;
          color: #fff;
          position: relative;
          .avatarimg {
            position: absolute;
            top: 0;
            left: 0;
            display: block;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            z-index: 2;
          }
        }
        .info {
          padding-left: 20px;
          flex: 1;
          .header {
            align-items: center;
            display: flex;
            margin-bottom: 8px;
            .name {
              font-size: 14px;
              font-weight: 500;
              color: #3c4257;
              flex: 1;
            }
            .time {
              color: #697386;
              font-size: 12px;
            }
          }
          .description {
            font-size: 13px;
            color: #677294;
            line-height: 16px;
          }
        }
      }
    }
  }
  .inboxRight {
    flex: 1 0;
    display: flex;
    overflow-y: hidden;
    justify-content: space-between;
    visibility: hidden;
    position: relative;
    &.visible {
      visibility: visible;
    }
    .chat {
      width: 100%;
      display: flex;
      flex-direction: column;
      flex: 1 1 auto;
      max-width: 73.2%;
      height: 100%;
      transition: width 0.7s;
      background: #fff;
      border-radius: 5px;
      .chatHeader {
        padding: 7px 25px 13px 24px;
        display: flex;
        position: relative;
        border-bottom: 1px solid #eee;
        height: 70px;
        justify-content: space-between;
        align-items: center;
        .chLeft {
          display: flex;
          align-items: center;
          font-size: 16px;
          .name {
            margin-right: 10px;
            color: #3c4257;
          }
          .onlinestatus {
            margin-right: 40px;
          }
          .selecte {
            width: 180px;
          }
        }
        .chRight {
          display: flex;
          align-items: center;
        }
      }
      .chatWindow {
        margin: 0 0 2px;
        order: 3;
        flex: 1 1;
        overflow-y: auto;
        background: #fff;
        padding-top: 4px;
        padding-left: 24px;
        padding-right: 35px;
        display: flex;
        flex-direction: column;
      }

      .cibTabs {
        height: 46px;
        overflow: hidden;
      }
      .chatInputbox {
        min-height: 58px;
        border: 1px solid rgba(0, 0, 0, 0.2);
        margin: 5px 30px 15px 15px;
        outline: none;
        border-radius: 10px;
        box-shadow: 4px 2px 20px 0 hsla(0, 0%, 91.4%, 0.5);
        bottom: 0;
        display: flex;
        flex-direction: column;
        position: relative;
        order: 4;
        max-width: 100%;
        padding: 8px 15px;
        &:hover {
          box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.4);
        }
        &.note {
          background-color: #fffded;
        }
        .cibTabs {
        }
        .sendmsg {
          padding-top: 8px;
          .sendmsgBox {
            border: none;
            outline: none;
            padding: 0;
            background-color: transparent;
            &:focus {
              box-shadow: none;
            }
          }
        }
        .tobesentImgs {
          display: flex;
          flex-wrap: wrap;
          align-items: stretch;
          .tbsimg {
            display: flex;
            justify-content: stretch;
            align-items: center;
            flex-basis: 22%;
            position: relative;
            margin-bottom: 10px;
            margin-right: 10px;
            margin-left: 0;
            padding: 6px;
            overflow-wrap: anywhere;
            height: 40px;
            background-color: #f6f5f5;
            border-radius: 5px;
          }
          .img {
            flex: 1 1 auto;
            height: 30px;
            object-fit: cover;
          }
          .icon {
            font-size: 16px;
            flex: 0 0 auto;
            cursor: pointer;
          }
        }
        .cibFoot {
          display: flex;
          justify-content: flex-end;
          align-items: center;
          .cibfBars {
            display: flex;
            align-items: center;
            .barItem {
              margin-right: 20px;
              // height: 14px;
              width: 20px;
              height: 20px;
              cursor: pointer;
              display: flex;
              align-items: center;
              justify-content: center;
            }
            .barItemIcon {
              display: block;
              width: 14px;
              height: 14px;
            }
          }
          .voiceing {
            display: flex;
            align-items: center;
            margin-right: 20px;
            .voicestatus {
              margin: 10px;
              width: 14px;
              height: 14px;
              border-radius: 50%;
              background-color: #e3706b;
            }
            .voiceingnum {
              font-size: 14px;
              margin-right: 10px;
            }
            .closeicon {
              font-size: 16px;
              color: #ff7875;
              &:hover {
                color: #f5222d;
              }
            }
            .checkicon {
              font-size: 16px;
              color: #d3f261;
              &:hover {
                color: #7cb305;
              }
            }
          }
        }
      }
    }
    .info {
      width: 25%;
      overflow-y: auto;
      height: 100%;
    }
  }
  .spinstatus {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.6);
  }

  .profileDetails {
    background-color: #fff;
    border-radius: 5px;
    margin-bottom: 20px;
    .profileInfo {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 20px;
    }
    .profilePic {
      display: flex;
      align-items: center;
    }
    .avatar {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-size: 12px;
      margin-right: 12px;
      .img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
      }
    }
    .details {
      padding: 10px 30px;
      font-size: 14px;
      .detail {
        padding: 10px 0;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        .name {
          color: #697386;
        }
      }
    }
  }
}

.chatItem {
  display: flex;
  margin-bottom: 20px;
  &.self {
    flex-direction: row-reverse;
    .avatarcon {
      margin-right: 0;
      margin-left: 20px;
    }
    .chatMain {
      margin-left: auto;
      margin-right: 0;
      .mainContent {
        // margin-left: auto;
        margin-right: 0;
      }
      .chatLoading {
        right: auto;
        left: -30px;
      }
    }
  }
  &.note {
    .chatMain {
      .mainContent {
        background-color: #ffd9bd;
      }
    }
  }
  .avatarcon {
    width: 32px;
    height: 32px;
    padding-top: 10px;
    margin-right: 20px;
    box-sizing: content-box;
  }
  .avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    .img {
      display: block;
      width: 100%;
      height: 100%;
      border-radius: 50%;
    }
  }

  .chatMain {
    display: flex;
    flex-direction: column;
    margin-right: auto;
    margin-left: 0;
    max-width: 80%;
    position: relative;
    .mainContent {
      white-space: pre-wrap;
      flex-direction: column;
      margin-right: auto;
      background: #f6f5f5;
      line-height: 1.5;
      color: #3c4257;
      border-radius: 10px;
      padding: 13px 30px 13px 20px;
      box-sizing: border-box;
      max-width: 100%;
      display: flex;
      position: relative;
      align-items: flex-start;
      justify-content: center;
      word-break: break-word;
      &:hover{
        .function{
          display: block;
        }
      }
      &.ptt,
      &.audio {
        padding: 0;
      }
      .img {
        display: block;
        width: 100px;
      }
      .audio {
        width: 360px;
      }
      .filecon {
        display: flex;
        .img {
          width: 20px;
          margin-right: 10px;
        }
      }

      .replyMessage{
        border-left: 4px solid #6078ff;
        border-radius: 7.5px 0 0 7.5px;
        background: #fff;
        padding: 5px 12px 7px 8px;
      }
    }
    .bar {
      display: flex;
      padding-left: 7px;
      padding-top: 10px;
      .item {
        margin-right: 8px;
        color: #666;
        font-size: 12px;
      }
    }
    .chatLoading {
      position: absolute;
      top: 10px;
      font-size: 20px;
      right: -30px;
    }
  }

  .function{
    position: absolute;
    right: 5px;
    top: 12px;
    display: none;
    cursor: pointer;
  }
}

.replyContent{
  background-color: #f6f5f5;
  margin: 10px 30px 9px 16px;
  padding: 10px 20px 12px;
  border-radius: 8px;
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-start;
  justify-content: stretch;
  max-width: calc(100% - 30px);
  order: 4;
  .replyQuote{
    flex: 1 1 auto;
    margin-right: 10px;
    .rqauthor{
      color: #6078ff;
    }
    .rqcontent{
      display: block;
      text-overflow: ellipsis;
      white-space: nowrap;
      overflow: hidden;
    }
  }
  .replyColse{
    flex: 0 0 12px;
    margin-left: auto;
    height: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: -10px;
  }
}

.selectphone {
  display: flex;
  align-items: center;
  font-size: 14px;
  .icon {
    display: block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
  }
}
.confrimok {
  margin: 0 25px 0 10px;
}
.dropdowncon {
  display: flex;
  align-items: center;
  font-size: 14px;
  .img {
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 20px;
  }
  .name {
    margin: 0 10px 0 10px;
  }
}
.dropdownBox {
  width: 250px;
  font-size: 14px;
  background-color: #fff;
  // padding: 20px;
  .searchInput {
    margin-bottom: 10px;
  }
  .dbItemHead {
    height: 40px;
    line-height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .dbItem {
    display: flex;
    align-items: center;
    height: 40px;
    cursor: pointer;
    .itemAvatar {
      display: block;
      width: 20px;
      height: 20px;
      border-radius: 20px;
      margin-right: 10px;
    }
    .itemNum {
      margin-left: auto;
    }
    .itemName {
      margin-right: 5px;
    }
  }
}
